﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LibFriesland_Campina_CRM
{
    public class BizStockCheckingDetail
    {
        #region Thuoc tinh
        public long by_stock_checking { get; set; }
        public string by_product { get; set; }
        public int changing_quantity { get; set; }
        public int current_quantity { get; set; }
        public string comment_checking { get; set; }
        #endregion

        #region Ham thiet lap
        public BizStockCheckingDetail() { }
        public BizStockCheckingDetail(int pBy_stock_cheking, string pBy_product, int pChanging_quantity, int pCurrent_quantity, string pComment_cheking)
        {
            by_stock_checking = pBy_stock_cheking;
            by_product = pBy_product;
            changing_quantity = pChanging_quantity;
            current_quantity = pCurrent_quantity;
            comment_checking = pComment_cheking;
        }
        public BizStockCheckingDetail(int pBy_stock_cheking, string pBy_product, int pCurrent_quantity, string pComment_cheking)
        {
            by_stock_checking = pBy_stock_cheking;
            by_product = pBy_product;
            current_quantity = pCurrent_quantity;
            comment_checking = pComment_cheking;
        }
        #endregion

        #region Phuong thuc
        //Them chi tiet phieu kiem kho
        public int addStockCheckingDetail()
        {
            return DalStockCheckingDetail.addStockCheckingDetail(this);
        }
        #endregion
    }
}
